// no 4 and 14
#ifndef FRACTION_H
#define FRACTION_H
class Fraction
{
	private:
		int numerator;
		int denominator;
	public:
		Fraction();
		Fraction(int n, int d);
		Fraction(const Fraction *f);
		Fraction(const Fraction &f);
		~Fraction();
		int getNum(void) const;
		int getDen(void) const;
		void setNum(int num);
		void setDen(int den);
		Fraction operator * (const Fraction &f);
		Fraction operator * (int nr);
		friend Fraction operator * (int nr, const Fraction &f);
		void Print(void) const;
		Fraction operator / (const Fraction &f);
		Fraction operator / (int nr);
		friend Fraction operator / (int nr, const Fraction &f);
		Fraction operator ^ (int power);
		Fraction operator + (const Fraction &f);
		Fraction operator + (int nr);
		friend Fraction operator + (int nr, const Fraction &f);
		Fraction operator - (const Fraction &f);
		Fraction operator - (int nr);
		friend Fraction operator - (int nr, const Fraction &f);
		friend Fraction Sum(Fraction F[], int nr);
		friend int Gcd(int x, int y);
		void Reduce(void);
		friend void Sort(Fraction F[]);
		friend Fraction BigSub(Fraction F[]);
		friend Fraction SmallSup(Fraction F[]);
};
#endif